package com.wp.design.create.builder;

public class Coath {
	private CourseBuilder courseBuilder;

	public void setCourseBuilder(CourseBuilder courseBuilder) {
		this.courseBuilder = courseBuilder;
	}
	public Course makeCourse(String courseName,String coursePPT,String courseVideo,String courseQA,String courseArticle){
		this.courseBuilder.buildCourseName(courseName);
		this.courseBuilder.buildCoursePPT(coursePPT);
		this.courseBuilder.buildCourseVideo(courseVideo);
		this.courseBuilder.buildCourseQA(courseQA);
		this.courseBuilder.buildCourseArticle(courseArticle);
		return this.courseBuilder.makeCourse();
	}
}
